using System.Collections.Generic;

namespace EFCoreEnterpriseDemo.Services
{
    public interface IDataPermissionService
    {
        int? GetCurrentTenantId();
        int? GetCurrentDepartmentId();
        List<int?>? GetAllowedDepartments();
        bool CanAccess(int userId, int departmentId, int? tenantId);
    }
}